home *** CD-ROM | disk | FTP | other *** search
/ C# & Game Programming - A…er's Guide (2nd Edition) / Buono 2nd Ed.iso / Chapter3 / 3.2 / 3.2.cs next >
Text File  |  2004-09-01  |  2KB  |  81 lines

  1. using System;
  2. using System.Drawing;
  3. using System.Collections;
  4. using System.ComponentModel;
  5. using System.Windows.Forms;
  6. using System.Data;
  7.  
  8. namespace Chapter3
  9. {
  10.     /// <summary>
  11.     /// Summary description for Form1.
  12.     /// </summary>
  13.     public class Form1 : System.Windows.Forms.Form
  14.     {
  15.         /// <summary>
  16.         /// Required designer variable.
  17.         /// </summary>
  18.         private System.ComponentModel.Container components = null;
  19.  
  20.         public Form1()
  21.         {
  22.             //
  23.             // Required for Windows Form Designer support
  24.             //
  25.             InitializeComponent();
  26.  
  27.             //
  28.             // TODO: Add any constructor code after InitializeComponent call
  29.             //
  30.         }
  31.  
  32.         /// <summary>
  33.         /// Clean up any resources being used.
  34.         /// </summary>
  35.         protected override void Dispose( bool disposing )
  36.         {
  37.             if( disposing )
  38.             {
  39.                 if (components != null) 
  40.                 {
  41.                     components.Dispose();
  42.                 }
  43.             }
  44.             base.Dispose( disposing );
  45.         }
  46.  
  47.         #region Windows Form Designer generated code
  48.         /// <summary>
  49.         /// Required method for Designer support - do not modify
  50.         /// the contents of this method with the code editor.
  51.         /// </summary>
  52.         private void InitializeComponent()
  53.         {
  54.             // 
  55.             // Form1
  56.             // 
  57.             this.AutoScaleBaseSize = new System.Drawing.Size(5, 13);
  58.             this.ClientSize = new System.Drawing.Size(292, 266);
  59.             this.Name = "Form1";
  60.             this.Text = "Form1";
  61.             this.Load += new System.EventHandler(this.Form1_Load);
  62.  
  63.         }
  64.         #endregion
  65.  
  66.         /// <summary>
  67.         /// The main entry point for the application.
  68.         /// </summary>
  69.         [STAThread]
  70.         static void Main() 
  71.         {
  72.             Application.Run(new Form1());
  73.         }
  74.  
  75.         private void Form1_Load(object sender, System.EventArgs e)
  76.         {
  77.         
  78.         }
  79.     }
  80. }
  81.